package ar.uba.fi.posgrado.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * Documento
 * 
 * @author pablo.tortorella
 */
@Entity
@Table(name = "TIPO_DOCUMENTO")
@SuppressWarnings("serial")
@Cache(usage = CacheConcurrencyStrategy.READ_ONLY)
public class IdentificationType extends AbstractDomainObject {

	@Column(name = "DESCRIPCION", length = 30, unique = true)
	private String description;

	@Override
	public String[] getExcludedFields() {
		return new String[] {};
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
}
